﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data.OracleClient;
using System.Threading;

namespace QASampling.UI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmJob());
        }

        private static void TestOracle()
        {
            string constr = "Data Source=PAJAK;User=KFX;Password=KFX";
            using (OracleConnection con = new OracleConnection(constr))
            {
                string cmdStr = "select count(*) from DMINDEX_11";
                using (OracleCommand cmd = new OracleCommand(cmdStr, con))
                {
                    con.Open();
                    object o = cmd.ExecuteScalar();
                    Console.WriteLine(o);
                }
            }
        }
    }
}
